﻿namespace MiniJob.Worker.Runtime;

internal class DependencyInjectionJobActivatorFactory(IServiceProvider services) : JobActivatorFactory
{
    public override JobActivator CreateActivator(JobTypeInformation type)
    {
        return new DependencyInjectionJobActivator(services, type);
    }
}
